//
//  UIBarButtonItem+CustomUI.h
//  TideKit
//
//  Created by Tider on 14-11-24.
//  Copyright (c) 2014年 TideKit. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface UIBarButtonItem(CustomUI)

+ (UIBarButtonItem*)leftBarItemWithImage:(UIImage*)image
                        highlightedImage:(UIImage*)highlightedImage
                                  target:(id)target
                                  action:(SEL)action;

+ (UIBarButtonItem*)leftBarItemWithTitle:(NSString*)title
                         normalTextColor:(UIColor *)normalColor
                    highlightedTextColor:(UIColor *)highlightedColor
                                  target:(id)target
                                  action:(SEL)action;

+ (UIBarButtonItem*)rightBarItemWithImage:(UIImage*)image
                         highlightedImage:(UIImage*)highlightedImage
                                   target:(id)target
                                   action:(SEL)action;

+ (UIBarButtonItem*)rightBarItemWithTitle:(NSString*)title
                          normalTextColor:(UIColor *)normalColor
                     highlightedTextColor:(UIColor *)highlightedColor
                                   target:(id)targetß
                                   action:(SEL)action;

+ (UIBarButtonItem*)barItemWithImage:(UIImage*)image
                    highlightedImage:(UIImage*)highlightedImage
                             xOffset:(CGFloat)xoffset
                              target:(id)target
                              action:(SEL)action;

+ (UIBarButtonItem*)barItemWithTitle:(NSString*)title
                     normalTextColor:(UIColor *)normalColor
                highlightedTextColor:(UIColor *)highlightedColor
                             xOffset:(CGFloat)xoffset
                              target:(id)target
                              action:(SEL)action;


@end
